package fr.isen.smssender.contact;

import java.util.Date;

/**
 * Created by IntelliJ IDEA.
 * User: Alexis Coppens M1
 * Date: 19/01/12
 * Time: 10:33
 */
public class Contact {

    private Integer _id;
    private String nom;
    private String prenom;
    private Date birthday;
    private String number;

    public Contact(String nom, String prenom, Date birthday, String number) {
        this(0,nom,prenom,birthday,number);
    }

    public Contact(Integer _id, String nom, String prenom, Date birthday, String number) {
        this._id = _id;
        this.nom = nom;
        this.prenom = prenom;
        this.birthday = birthday;
        this.number = number;
    }

    public String getNumber() {
        return this.number;
    }

    public void setNumber(String number) {
        this.number = number;
    }

    public String getNom() {
        return nom;
    }

    public void setNom(String nom) {
        this.nom = nom;
    }

    public String getPrenom() {
        return prenom;
    }

    public void setPrenom(String prenom) {
        this.prenom = prenom;
    }

    public Date getBirthday() {
        return birthday;
    }

    public void setBirthday(Date birthday) {
        this.birthday = birthday;
    }

    public Integer get_id() {
        return _id;
    }

    public void set_id(Integer _id) {
        this._id = _id;
    }
}
